set(LIB_THREAD_SRC
    eventloopthreadpoll.cpp
    eventthread.cpp
    thread.cpp
    threadcondition.cpp
    threaddata.cpp
    countdownlatch.cpp
)

add_library(thread ${LIB_THREAD_SRC})
target_link_libraries(thread pthread rt)
set_target_properties(thread PROPERTIES OUTPUT_NAME "thread")

